package com.cz.modules.rll.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cz.common.utils.PageUtils;
import com.cz.common.utils.Query;

import com.cz.modules.rll.dao.RllPlaceDao;
import com.cz.modules.rll.entity.RllPlaceEntity;
import com.cz.modules.rll.service.RllPlaceService;


@Service("rllPlaceService")
public class RllPlaceServiceImpl extends ServiceImpl<RllPlaceDao, RllPlaceEntity> implements RllPlaceService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<RllPlaceEntity> page = this.page(
                new Query<RllPlaceEntity>().getPage(params),
                new QueryWrapper<RllPlaceEntity>()
        );

        return new PageUtils(page);
    }

}
